package com.glory.brepda.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.brepda.R;
import com.glory.brepda.entity.PackageEntity;

import java.util.List;

public class SuggestShelfListAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public SuggestShelfListAdapter(@Nullable List<String> data) {
        super(R.layout.item_materiel_list,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setGone(R.id.tvPosition,false)
                .setText(R.id.tvMaterielName,item)
                .setGone(R.id.tvMaterielID,false);
    }
}
